from VideoCapture import Device
from confignb import ConfigNB
import time

def main():
	try:
		cam = Device()
		cam.saveSnapshot("webcamShot.jpeg")
	except:
		print "Problemas la tomar foto de webcam"
    
if __name__=="__main__":
    main()